package com.hjm.mall.entity;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class Order {
    private Integer id;
    private Integer goodsId;
    private String goodsType;
    private Integer goodsNum;
    private Integer state;
    private Long userId;
    private Integer txAddr;
    private Integer rxAddr;

    private Integer orderId;

    private Integer storeId;
    private String storeName;
    private Integer goodsIconId;
    private String goodsName;
    private BigDecimal price;

    public Order(Integer state, Long userId) {
        this.state = state;
        this.userId = userId;
    }

    public Order() {
    }
}
